-
Notifications
You must be signed in to change notification settings - Fork 88
feat(networks): add naga-proto naga naga-prod environment and contrac… #999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: naga
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for the naga (production) and naga-proto network environments to the vNaga network family. The changes include:
- New environment modules for
naga-productionandnaga-protowith corresponding chain managers, configurations, and type exports - Updated contracts sync configuration to fetch contract ABIs from the networks repository for these new environments
- Preservation of browser-specific export mappings in the contracts package.json for bundler compatibility
- Addition of new chain configuration file
LitChain.tsfor the production Lit Chain network
Reviewed Changes
Copilot reviewed 14 out of 38 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/networks/src/networks/vNaga/index.ts | Exports the new naga-production and naga-proto modules and types |
| packages/networks/src/networks/vNaga/envs/naga-proto/* | Complete implementation of naga-proto environment with module, env config, and chain manager |
| packages/networks/src/networks/vNaga/envs/naga-production/* | Complete implementation of naga-production environment with module, env config, and chain manager |
| packages/networks/src/index.ts | Adds exports for nagaProduction and nagaProto modules to main SDK entry point |
| packages/networks/src/chains/LitChain.ts | New chain configuration for Lit Chain mainnet (chain ID 175200) |
| packages/contracts/src/sync.ts | Adds browser-specific export mappings for custom-network-signatures |
| packages/contracts/src/config/networks.ts | Adds naga-proto and naga production network paths for contract sync |
| packages/contracts/package.json | Adds package exports for naga and naga-proto signatures and prod files |
| packages/contracts/dist/* | Generated contract signatures and artifacts for naga and naga-proto networks, plus updates to naga-staging |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
WHAT
nagaandnaga-prototo the vNaga environments (env/module/chain manager plus SDK exports)nagaandnaga-protofrom the networks repo and regenerate artifacts/exports